package com.jgzx.domain.laserMark;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * 获取打刻机token DTO
 * @author 李松松
 * @date 2021/10/21 9:15
 */
@ApiModel(value = "用户查询DTO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LaserMakeLoginDTO {

    @ApiModelProperty(value = "手机号码", required = true)
    @NotEmpty(message = "用户名不能为空")
    private String userName;

    @ApiModelProperty(value = "密码", required = true)
    @NotEmpty(message = "密码不能为空")
    private String password;

    @ApiModelProperty(value = "来源类型")
    private String srcType;

    @ApiModelProperty(value = "设备串号")
    private String srcTag;
}
